package cn.itcast.dao;

import cn.itcast.pojo.Member;

public interface MemberDao {


    //按月查找会员
    Integer findMemberByMonths ( String date );
    //按日查找会员
    Integer findMemberByDate(String date);
    //查询本周的会员数
    Integer findMemberCountWeekAfterDate(String thisWeekMonday);
    //查询本月新增会员数
    Integer findMemberCountMonthAfterDate(String firstDay4ThisMonth);
    //查询总会员数
    Integer findMemberTotal();



    void add(Member member);

    Member findByPhone(String phoneNumber);
}
